package com.guigu.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.pojo.DesignModule;
import com.guigu.erp.pojo.StorageGather;
import org.apache.ibatis.annotations.Select;

public interface StorageGatherMapper extends BaseMapper<StorageGather> {
    /**
     * 查询ID最大的入库单信息
     * @return
     */
    @Select("SELECT * FROM S_GATHER WHERE ID = (SELECT MAX(id) from S_GATHER)")
    StorageGather queryMaxModule();
}
